package week2;

/**
 * Created by mc on 2017/3/7.
 */
public class jingdu {
    public static void main(String[] arge){
        System.out.printf("%1.2f %n ", 1234567.234);
        System.out.printf("%2.2f %n ", 1234567.234);
        System.out.printf("%3.2f %n ", 1234567.234);
        System.out.printf("%4.2f %n ", 1234567.234);
        System.out.printf("%5.2f %n ", 1234567.234);
        System.out.printf("%6.2f %n ", 1234567.234);
        System.out.printf("%7.2f %n ", 1234567.234);
        System.out.printf("%8.2f %n ", 1234567.234);
        System.out.printf("%9.2f %n ", 1234567.234);
        System.out.printf("%10.2f %n ", 1234567.234);
        System.out.printf("%4.1f %n ", 1234567.234);
        System.out.printf("%4.3f %n ", 1234567.234);
        System.out.printf("%4f %n ", 1234567.234);
        System.out.printf("%2f %n ", 1234567.234);
        System.out.printf("%1%n ", 1234567.234);
        System.out.printf("%b ", 11);
    }
}
